//
//  M4InfosPublicView1.swift
//  M4
//
//  Created by YuChuang on 2024/8/10.
//

import UIKit

class M4InfosPublicView1: UIView {
    
    @IBOutlet weak var m4InfoPublicTitle: UILabel!
    
    @IBOutlet weak var m4InfoPublicBGView: UIView!
    
    @IBOutlet weak var m4InfoPublicTF: UITextField!
    
    @IBOutlet weak var m4InfoPublicError: UILabel!
    
    @IBOutlet weak var m4InfoPublicErrorTop: NSLayoutConstraint!
    
    @IBOutlet weak var m4InfoPublicDownIcon: UIImageView!
    
    @IBOutlet weak var m4InfoPublicDownWidth: NSLayoutConstraint!
    
    @IBOutlet weak var m4InfoPublicDownRight: NSLayoutConstraint!
    
    @IBOutlet weak var m4InfoPublicBlueDesc: UILabel!
    
    override func awakeFromNib() {
        m4InfoPublicBGView.layer.cornerRadius = 2
        m4InfoPublicBGView.layer.borderWidth = 0.5
        m4InfoPublicBGView.layer.borderColor = COLOR_CCCCCC.cgColor
        m4InfoPublicBGView.layer.masksToBounds = true
        let attributes = [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 14), .foregroundColor: COLOR_999999]
        m4InfoPublicTF.attributedPlaceholder = NSAttributedString(string: "Por favor seleccione", attributes: attributes)
        m4InfoPublicError.text = ""
//        m4InfoPublicError.isHidden = true
//        m4InfoPublicErrorTop.constant = 0
        m4InfoPublicBlueDesc.text = ""
    }
    
}
